
package com.microsoft.schemas.office.project.server.webservices.delegationdataset;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * <p>Java class for anonymous complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType>
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;choice maxOccurs="unbounded" minOccurs="0">
 *         &lt;element name="DelegatableAssignments">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="ASSN_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                   &lt;element name="RES_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                   &lt;element name="PROJ_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                   &lt;element name="TASK_NAME" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                   &lt;element name="ASSN_START_DATE" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *                   &lt;element name="ASSN_FINISH_DATE" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *                   &lt;element name="RES_NAME" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                   &lt;element name="PROJ_NAME" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                   &lt;element name="NewRes" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *         &lt;element name="TeamMembers">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="PROJ_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                   &lt;element name="RES_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                   &lt;element name="RES_NAME" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *       &lt;/choice>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "delegatableAssignmentsOrTeamMembers"
})
@XmlRootElement(name = "DelegationDataSet")
public class DelegationDataSet {

    @XmlElements({
        @XmlElement(name = "TeamMembers", type = DelegationDataSet.TeamMembers.class),
        @XmlElement(name = "DelegatableAssignments", type = DelegationDataSet.DelegatableAssignments.class)
    })
    protected List<Object> delegatableAssignmentsOrTeamMembers;

    /**
     * Gets the value of the delegatableAssignmentsOrTeamMembers property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the delegatableAssignmentsOrTeamMembers property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getDelegatableAssignmentsOrTeamMembers().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link DelegationDataSet.TeamMembers }
     * {@link DelegationDataSet.DelegatableAssignments }
     * 
     * 
     */
    public List<Object> getDelegatableAssignmentsOrTeamMembers() {
        if (delegatableAssignmentsOrTeamMembers == null) {
            delegatableAssignmentsOrTeamMembers = new ArrayList<Object>();
        }
        return this.delegatableAssignmentsOrTeamMembers;
    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;sequence>
     *         &lt;element name="ASSN_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         &lt;element name="RES_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         &lt;element name="PROJ_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         &lt;element name="TASK_NAME" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
     *         &lt;element name="ASSN_START_DATE" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
     *         &lt;element name="ASSN_FINISH_DATE" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
     *         &lt;element name="RES_NAME" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
     *         &lt;element name="PROJ_NAME" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
     *         &lt;element name="NewRes" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "assnuid",
        "resuid",
        "projuid",
        "taskname",
        "assnstartdate",
        "assnfinishdate",
        "resname",
        "projname",
        "newRes"
    })
    public static class DelegatableAssignments {

        @XmlElement(name = "ASSN_UID", required = true)
        protected String assnuid;
        @XmlElement(name = "RES_UID", required = true)
        protected String resuid;
        @XmlElement(name = "PROJ_UID", required = true)
        protected String projuid;
        @XmlElement(name = "TASK_NAME")
        protected String taskname;
        @XmlElement(name = "ASSN_START_DATE", required = true)
        @XmlSchemaType(name = "dateTime")
        protected XMLGregorianCalendar assnstartdate;
        @XmlElement(name = "ASSN_FINISH_DATE", required = true)
        @XmlSchemaType(name = "dateTime")
        protected XMLGregorianCalendar assnfinishdate;
        @XmlElement(name = "RES_NAME")
        protected String resname;
        @XmlElement(name = "PROJ_NAME")
        protected String projname;
        @XmlElement(name = "NewRes")
        protected String newRes;

        /**
         * Gets the value of the assnuid property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getASSNUID() {
            return assnuid;
        }

        /**
         * Sets the value of the assnuid property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setASSNUID(String value) {
            this.assnuid = value;
        }

        /**
         * Gets the value of the resuid property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getRESUID() {
            return resuid;
        }

        /**
         * Sets the value of the resuid property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setRESUID(String value) {
            this.resuid = value;
        }

        /**
         * Gets the value of the projuid property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getPROJUID() {
            return projuid;
        }

        /**
         * Sets the value of the projuid property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setPROJUID(String value) {
            this.projuid = value;
        }

        /**
         * Gets the value of the taskname property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getTASKNAME() {
            return taskname;
        }

        /**
         * Sets the value of the taskname property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setTASKNAME(String value) {
            this.taskname = value;
        }

        /**
         * Gets the value of the assnstartdate property.
         * 
         * @return
         *     possible object is
         *     {@link XMLGregorianCalendar }
         *     
         */
        public XMLGregorianCalendar getASSNSTARTDATE() {
            return assnstartdate;
        }

        /**
         * Sets the value of the assnstartdate property.
         * 
         * @param value
         *     allowed object is
         *     {@link XMLGregorianCalendar }
         *     
         */
        public void setASSNSTARTDATE(XMLGregorianCalendar value) {
            this.assnstartdate = value;
        }

        /**
         * Gets the value of the assnfinishdate property.
         * 
         * @return
         *     possible object is
         *     {@link XMLGregorianCalendar }
         *     
         */
        public XMLGregorianCalendar getASSNFINISHDATE() {
            return assnfinishdate;
        }

        /**
         * Sets the value of the assnfinishdate property.
         * 
         * @param value
         *     allowed object is
         *     {@link XMLGregorianCalendar }
         *     
         */
        public void setASSNFINISHDATE(XMLGregorianCalendar value) {
            this.assnfinishdate = value;
        }

        /**
         * Gets the value of the resname property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getRESNAME() {
            return resname;
        }

        /**
         * Sets the value of the resname property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setRESNAME(String value) {
            this.resname = value;
        }

        /**
         * Gets the value of the projname property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getPROJNAME() {
            return projname;
        }

        /**
         * Sets the value of the projname property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setPROJNAME(String value) {
            this.projname = value;
        }

        /**
         * Gets the value of the newRes property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getNewRes() {
            return newRes;
        }

        /**
         * Sets the value of the newRes property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setNewRes(String value) {
            this.newRes = value;
        }

    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;sequence>
     *         &lt;element name="PROJ_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         &lt;element name="RES_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         &lt;element name="RES_NAME" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "projuid",
        "resuid",
        "resname"
    })
    public static class TeamMembers {

        @XmlElement(name = "PROJ_UID", required = true)
        protected String projuid;
        @XmlElement(name = "RES_UID", required = true)
        protected String resuid;
        @XmlElement(name = "RES_NAME")
        protected String resname;

        /**
         * Gets the value of the projuid property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getPROJUID() {
            return projuid;
        }

        /**
         * Sets the value of the projuid property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setPROJUID(String value) {
            this.projuid = value;
        }

        /**
         * Gets the value of the resuid property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getRESUID() {
            return resuid;
        }

        /**
         * Sets the value of the resuid property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setRESUID(String value) {
            this.resuid = value;
        }

        /**
         * Gets the value of the resname property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getRESNAME() {
            return resname;
        }

        /**
         * Sets the value of the resname property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setRESNAME(String value) {
            this.resname = value;
        }

    }

}
